import Vue from 'vue'
import App from './App.vue'
import router from './router'
import TopBar from '@/components/TopBar'
import BlogRow from '@/components/BlogRow'
import DividingLine from '@/components/DividingLine'
Vue.config.productionTip = false
import moment from 'moment'

Vue.component('top-bar', TopBar)
Vue.component('blog-row', BlogRow)
Vue.component('dividing-line', DividingLine)
Vue.use(() => {
  Vue.prototype.$moment = moment
})
new Vue({
  router,
  render: h => h(App),
}).$mount('#app')
